package cn.com.api.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Delete;  
import org.apache.ibatis.annotations.Insert;  
import org.apache.ibatis.annotations.Select;  
import org.apache.ibatis.annotations.Update; 

import cn.com.api.entity.ApiT_delivery_account_state;
import cn.com.api.mapper.base.T_delivery_account_stateMapperBase;

//DAO
public interface ApiT_delivery_account_stateMapper extends T_delivery_account_stateMapperBase {
	/** 根据时间查询当天的最近记录 */
	public ApiT_delivery_account_state selectRecentlyRecordByDate(@Param("u_id")String u_id,@Param("date")String date);
	/** 根据日期查询当天所有的    统计各个状态的总时间 */
	public List<Map<String,Object>> selectCurrentDaySumInfoByDate(@Param("u_id")String u_id,@Param("date")String date);
}


